import { network } from '@/utils';

import qs from 'qs';

import { basic } from '../../../../../../config/Apis';

export async function queryList(params: any) {
  return network.get(basic.cab_collection_list, { params });
}

export async function exportData(params: any) {
  window.location.href = `${basic.cab_collection_export}?${qs.stringify(params)}`;
}
